<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>Document</title>
		<style>
			.clearfix::after {
				display: block;
				content: '';
				clear: both;
				/* 浏览器兼容 */
				visibility: hidden;
				height: 0;
			}
			.clearfix {
				/* 兼容iE6,7, 防止微元素放大 */
				*zoom: 1;
			}
			.content {
				width: 1190px;
				margin: 0 auto;
				background-color: #f00;
			}
			.item {
				width: 290px;
				background-color: purple;
				margin-bottom: 10px;
				float: left;
				margin-right: 10px;
			}
			.item.left {
				height: 370px;
			}
			.item.right {
				height: 180px;
			}

			.wrapper {
				margin-right: -10px;
			}
		</style>
	</head>
	<body>
		<div class="content">
			<div class="wrapper clearfix">
				<div class="item left"></div>
				<div class="item left"></div>
				<div class="item right"></div>
				<div class="item right"></div>
				<div class="item right"></div>
				<div class="item right"></div>

				<div class="item left"></div>
				<div class="item left"></div>
				<div class="item right"></div>
				<div class="item right"></div>
				<div class="item right"></div>
				<div class="item right"></div>
			</div>
		</div>
	</body>
</html>
